package com.kgc.service;

import com.kgc.entity.Provider;
import com.kgc.entity.Role;
import com.kgc.entity.User;

import java.util.List;
import java.util.Map;

public interface SmbmsService {

    public User getUserByusernameAndpassword(String username);

    public List<User> listUser(String name,String userRole,int currentPage);

    public List<Role> listRolename();

    public int countUsers(String name,String userRole);

    public int insertUser(User user);

    public User selectUser(int id);

    public int deleteUser(int id);

    public List<Provider> listProviders(Map<String,Object> paramMap);

    public int countUserByUsercode(String usercode);
}
